package com.med.service.Impl;

import com.med.entity.DoctorDO;
import com.med.entity.MedicineDO;
import com.med.mapper.ConcernMapper;
import com.med.service.ConcernService;
import com.med.vo.CollectionVO;
import com.med.vo.ConcernVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConcernServiceImpl implements ConcernService {
    @Autowired
    private ConcernMapper concernMapper;
    @Override
    public List<DoctorDO> queryConcern(ConcernVO concernVO) {
        return concernMapper.queryConcern(concernVO);
    }

    @Override
    public Integer updateConcern(ConcernVO concernVO) {
        return concernMapper.updateConcern(concernVO);
    }

    @Override
    public List<MedicineDO> queryCollection(CollectionVO collectionVO) {
        return concernMapper.queryCollection(collectionVO);
    }

    @Override
    public Integer updateCollection(CollectionVO collectionVO) {
        return concernMapper.updateCollection(collectionVO);
    }
}
